package com.jic.member.mapper;

import com.jic.member.entity.MememberIntegralExchange;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 会员积分规则兑换产品-兑换付费表
 * @author : 
 * @email : 
 * @since : 2020-04-02 03:26:59
 * @version : v1.0.0
 */
@Mapper
public interface  MememberIntegralExchangeMapper {

    long insert(MememberIntegralExchange mememberIntegralExchange);

    long delete(Long id);

    long update(MememberIntegralExchange mememberIntegralExchange);

    MememberIntegralExchange queryByPrimaryKey(Long id);

    List<MememberIntegralExchange> query(MememberIntegralExchange mememberIntegralExchange);

    List<MememberIntegralExchange> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mememberIntegralExchange") MememberIntegralExchange mememberIntegralExchange);

    long queryPageCount(MememberIntegralExchange mememberIntegralExchange);
}